package com.bicon.base.data.pojo.botu;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("JOB_STATUS_TRACE_LOG")
public class JobStatusTraceLog extends Model<JobStatusTraceLog> {

    private static final long serialVersionUID = 1L;

    private String id;
    @TableField("job_name")
    private String jobName;
    @TableField("original_task_id")
    private String originalTaskId;
    @TableField("task_id")
    private String taskId;
    @TableField("slave_id")
    private String slaveId;
    private String source;
    @TableField("execution_type")
    private String executionType;
    @TableField("sharding_item")
    private String shardingItem;
    private String state;
    private String message;
    @TableField("creation_time")
    private Date creationTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getOriginalTaskId() {
        return originalTaskId;
    }

    public void setOriginalTaskId(String originalTaskId) {
        this.originalTaskId = originalTaskId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getSlaveId() {
        return slaveId;
    }

    public void setSlaveId(String slaveId) {
        this.slaveId = slaveId;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getExecutionType() {
        return executionType;
    }

    public void setExecutionType(String executionType) {
        this.executionType = executionType;
    }

    public String getShardingItem() {
        return shardingItem;
    }

    public void setShardingItem(String shardingItem) {
        this.shardingItem = shardingItem;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "JobStatusTraceLog{" +
        "id=" + id +
        ", jobName=" + jobName +
        ", originalTaskId=" + originalTaskId +
        ", taskId=" + taskId +
        ", slaveId=" + slaveId +
        ", source=" + source +
        ", executionType=" + executionType +
        ", shardingItem=" + shardingItem +
        ", state=" + state +
        ", message=" + message +
        ", creationTime=" + creationTime +
        "}";
    }
}
